@layout("/common/_container.html"){

<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="deviceInfoForm">
            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="ipAddress" name="IP地址" value="${deviceInfo.ipAddress}" readonly="true" underline="true"/>
                    <#input id="netMask" name="子网掩码" value="${deviceInfo.netMask}" readonly="true" underline="true"/>
                    <#input id="gateipAddress" name="网关" value="${deviceInfo.gateipAddress}" readonly="true" underline="true"/>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="newIpAddress" name="新IP地址" value="${deviceInfo.newIpAddress}" underline="true"/>
                    <#input id="newNetMask" name="新子网掩码" value="${deviceInfo.newNetMask}" underline="true"/>
                    <#input id="newGateipAddress" name="新网关" value="${deviceInfo.newGateipAddress}" underline="true"/>
                </div>
            </div>


            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="DeviceInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="DeviceInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/door/device/device_info.js"></script>
@}
